<template>
	<div id="app">
		<el-container>
			<el-aside width="300">
				<el-menu default-active>
					<el-menu-item-group index="1">
						<router-link class="list-group-item" :to="{ name: 'test' }">购物车、加载更多</router-link>
					</el-menu-item-group>
					<el-menu-item-group index="1">
						<router-link class="list-group-item" :to="{ name: 'mytable' }">自定义表格组件</router-link>
					</el-menu-item-group>
					<el-menu-item-group index="1">
						<router-link class="list-group-item" :to="{ name: 'crud' }">axios的增删改查</router-link>
					</el-menu-item-group>
					<el-menu-item-group index="1">
						<router-link class="list-group-item" :to="{ name: 'admin' }">路由案例</router-link>
					</el-menu-item-group>
					<el-menu-item-group index="1">
						<router-link class="list-group-item" :to="{ name: 'element' }">elementUI案例</router-link>
					</el-menu-item-group>
				</el-menu>
			</el-aside>
			<el-main>
				<!-- <loadingMore /> -->
				<router-view></router-view>
			</el-main>
		</el-container>
	</div>
</template>

<script>
// import loadingMore from "./components/loadingMore/loadingMore";
export default {
	components: {
		// loadingMore,
	},
	data() {
		return {};
	},
};
</script>
<style></style>
